package com.wonders.hisdoctor.station.project.laboratory.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;

/**
 * @author zhaogongming
 * @date 2021-02-19
 **/
@Data
@ApiModel("历史申请查询条件")
public class LaboratoryHistoryRequestVo implements Serializable {

    @ApiModelProperty("开始日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date startDate;

    @ApiModelProperty("结束日期")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date endDate;

    @ApiModelProperty("收费标记：1-已收，0-未收")
    private Integer chargeIndicator;

    @ApiModelProperty("医生编号")
    private String empNo;

    @ApiModelProperty("项目名称")
    private String itemName;

    @ApiModelProperty("病人标识号")
    @NotBlank(message = "病人标识号不能为空")
    private String patientId;

    @ApiModelProperty("机构编码")
    @NotBlank(message = "机构编码不能为空")
    private String hospitalCode;

    @ApiModelProperty("当前登录医生工号")
    private String doctor;
}
